export default [
    {
        path: '/professionalRecord', //  履职记录
        name: 'professionalRecord',
        component: (resolve) => require(['@/components/professionalRecord'], resolve),
        children: [{
            path: '', // 我的
            component: (resolve) => require(['@/components/professionalRecord/my'], resolve)
        }, {
            path: 'record', // 记录
            component: (resolve) => require(['@/components/professionalRecord/record'], resolve)
        },
        {
            path: 'statistical', // 统计
            component: (resolve) => require(['@/components/professionalRecord/statistical'], resolve)
        }]
    },
    {
        path: '/recordDetail', //  履职记录详情
        name: 'recordDetail',
        component: (resolve) => require(['@/components/professionalRecord/recordDetail'], resolve),
        meta: {
            title: '履职记录详情'
        }
    },
    {
        path: '/addRecord', //  新增履职记录
        name: 'addRecord',
        component: (resolve) => require(['@/components/professionalRecord/addRecord'], resolve),
        meta: {
            title: '新增履职记录'
        }
    },
    {
        path: '/addRecordItem', //  添加工作内容
        name: 'addRecordItem',
        component: (resolve) => require(['@/components/professionalRecord/addRecordItem'], resolve),
        meta: {
            title: '添加工作内容'
        }
    }
]
